package csu.web.credit_bank.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;

@Data
@TableName("user_favorites")
public class UserFavorite implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId
    private String id;
    private String userId;
    private String itemId;
    private Integer itemType; // 0:课程, 1:资源
    private Date createTime;
}